<{include file="header.tpl"}>
<!--script type="text/javascript" src="../ueditor/ueditor.config.js"></script-->
<!--script type="text/javascript" src="../ueditor/ueditor.all.min.js"></script-->

<div class="comBox">
    <form name="myform" id="myform" actiom="" method="POST" enctype='multipart/form-data' >
        <div class="comHeader">
            <h2>修改书籍</h2>
        </div>
        <div class="comTable bt">
            <div class="info-block">
                <table class="siteInfo">
                    <input type='hidden'name='id' value="<{$v.id}>"/>
                    <tr>
                        <th width="100px">采集ID</th>
                        <td>
                            <input type='input' name='book_id' class="text" value="<{$v.book_id}>"/>
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">书籍名字</th>
                        <td>
                            <input type='input' name='book_name' class="text" value="<{$v.book_name}>"/>
                            <span class="onShow">书籍名字不能为空!且不能加上  /\\:*?<>| 这些特殊符号！</span>
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">书籍后缀</th>
                        <td>
                            <input type='input' name='book_suffix' class="text" value="<{$v.book_suffix}>"/>
                            <span class="onShow">书籍后缀不能为空!文件名后缀</span>
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">作者名字</th>
                        <td>
                            <input type='input' name='book_author' class="text" value="<{$v.book_author}>"/>
                            <span class="onShow">作者名字不能为空!</span>
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">书籍标签</th>
                        <td>
                            <input type="checkbox" name = "book_tag" rel="parent">全选<br/>
                            <{foreach from=$tag_arr key=kk item=vv}>
                            <input type="checkbox" name='book_tag[]' rel ="child"  value="<{$kk}>"<{if in_array($kk, $v.book_tag)}>checked<{/if}>  /> <{$vv}>&nbsp;
                            <{/foreach}>
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">服务器保存路径</th>
                        <td>
                            <textarea name='book_path'  style="width: 300px;height:30px;"><{$v.book_path}></textarea>
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">是否请求</th>
                        <td>
                           <input type='input' name='caiji_is_call'class="text" value="<{$v.caiji_is_call}>"/>
                           <span class="onShow">10代表已经读取到采集地址了</span>
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">附件采集地址</th>
                        <td>
                            <textarea  name='caiji_read_email_url' style="width: 300px;height:30px;"><{$v.caiji_read_email_url}></textarea>
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">采集结果</th>
                        <td>
                           <input type='input' name='caiij_ok'class="text" value="<{$v.caiij_ok}>"/>
                        </td>
                    </tr
                    <tr>
                        <th width="100px">1是0否要生成静态页</th>
                        <td>
                            <select name="is_page">
                                <option value="1">是</option>
                                <option value="0" <{if $v.is_page neq 1}>selected<{/if}>>否</option>
                            </select>
                        </td>
                    </tr>
                   
                    <tr>
                        <th></th>
                        <td>
                            <input type ="submit" class = "sub" value = "提交">
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
</div>
<{include file="footer.tpl"}>

